package cn.edu.hbwe.book.entity;

import java.util.Date;

public class User {
	private int id;//用户id
	private String username;//用户名
	private String password;//密码
	private String gender;//性别
	private String email;//邮箱
	private String telephone;//电话
	private String description;//描述
	private String activeCode;
	private String role;//默认为普通用户
	private int state=0;//0为未激活
	private Date regisTime;//注册时间
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getActiveCode() {
		return activeCode;
	}
	public void setActiveCode(String acticeCode) {
		this.activeCode = acticeCode;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Date getRegisTime() {
		return regisTime;
	}
	public void setRegisTime(Date regisTime) {
		this.regisTime = regisTime;
	}
	
	
}
